<form id="add-form" class="form-horizontal " role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>接洽区领导:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[leader_ids][]',$leaders_list,$row.leader_ids,['id'=>"leader_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>接洽时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[receive_time]" type="text" value="{$row.receive_time_desc}" required>
        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>接洽类别:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[contact_typeid]',$Think.config.app.contact_typeid,$row.contact_typeid,['id'=>"contact_typeid",'class'=>'form-control form_value','required'])}
        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>接洽地点:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-contact_city" class="form-control" data-toggle="city-picker" value="{$row.contact_city}" name="row[contact_city]" type="text" required> </div>
        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>会谈内容:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="5" name="row[content]" cols="50" required>{$row.content}</textarea>
        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>参加单位:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[join_depart_ids][]',$assistArr,$row.join_depart_ids,['id'=>"join_depart_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
        </div>
    </div>

   <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>主责单位:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[chargedep_ids][]',$chargeDepsArr,$row.chargedep_ids,['id'=>"chargedep_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>中心陪同科室:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[centraloffice_id][]',$centraloffices,$row.centraloffice_id,['id'=>"centraloffice_id",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
        </div>
    </div>

    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2"><span style="color: red;">*</span>中心陪同人员:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_name" class="form-control" value="{$row.contact_name}" name="row[contact_name]" type="text" placeholder="请填写中心陪同人员" required>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-success btn-update">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style type="text/css">
    .error{color:red;}
</style>